package com.nearsoft.academy;

import java.util.TimerTask;

public class CounterTask extends TimerTask {

    private boolean _isCompleted = false;

    @Override
    public void run() {
        _isCompleted = true;
    }

    public void setIsCompleted(boolean _isCompleted) {
        this._isCompleted = _isCompleted;
    }

    public boolean isCompleted() {
        return _isCompleted;
    }
}
